// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import { RouterTo } from '@/assets/util/util_base.js'
import { publicMsg } from '@/assets/util/publicMsg.js'
import { isLogin } from '@/assets/util/isLogin.js'
import { inStorage,getLoacl } from '@/assets/util/public_base_util.js' 
import * as allFilter from "@/assets/util/all_filter.js"
import store from "@/store/index.js"
import mouseMenu from '@/assets/third/tablemenu/src'

Vue.use(mouseMenu)


Vue.config.productionTip = false
Vue.prototype.axios  = axios;
Vue.prototype.RouterTo  = RouterTo;
Vue.prototype.publicMsg  = publicMsg;
Vue.prototype.inStorage  = inStorage;
Vue.prototype.isLogin  = isLogin;
Vue.prototype.getLoacl  = getLoacl;

Object.keys(allFilter).forEach(key => {
  Vue.filter(key, allFilter[key])
})

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
